/*
 * @Author: zxc
 * @Date: 2020-08-11 10:45:37
 * @LastEditTime: 2020-08-12 08:47:19
 * @LastEditors: zxc
 * @Description: user相关接口处理
 */
import http from '../http'
// 登录
export const login = (options: ILogin) => http.post('/login', options);

//token刷新
export const refreshToken = (authToken: string) => http.put('/auth/tokens', {refreshToken}, null);
